# The rule that infer the probable marriage using associative tuple form for POJO.
[
	?p1={class:"com.name.Person" friend:?x gender:"male"}
	?p2={class:"com.name.Person" id:?x gender:"female"}
] when ?p1.age-?p2.age>=5 ->
	assert {class:"com.name.PotentialMarriage" he:?p1 she:?p2}.